package org.zephyrus.ex1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 控制器
 */
@Controller
public class IndexController {
    /**
     * 主页
     * @return
     */
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
}
